package com.ev.hr.service;

import com.ev.framework.utils.R;
import javassist.CannotCompileException;
import javassist.NotFoundException;
import org.springframework.ui.ModelMap;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 文件名称： com.ev.hr.service.AdvertiseInfoService.java</br>
 * 初始作者： ev-monitor</br>
 * 创建日期： 2020-05-11 13:00:22</br>
 * 功能说明： 下载模板服务类 <br/>
 * =================================================<br/>
 * 修改记录：<br/>
 * 修改作者        日期       修改内容<br/>
 * ================================================<br/>
 * Copyright (c) 2020-2021 .All rights reserved.<br/>
 */
public interface GenerateExcelService {

    void downLoadSalaryArchives(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap, boolean isData);

    R importSalaryArchives(MultipartFile file) throws IOException, CannotCompileException, NotFoundException;

    void downLoadTax(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap, boolean isData,String monthDate);

    R importTax(MultipartFile file,String monthDate) throws IOException, CannotCompileException, NotFoundException;

    void downLoadSocialSecurity(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap, boolean isData,String monthDate);

    R importSocialSecurity(MultipartFile file,String monthDate) throws IOException, CannotCompileException, NotFoundException;

    void downLoadRecord(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap, boolean isData, String monthDate);
}
